package com.test.lotterysystem.Controller.Result;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class ActivityCreateUser implements Serializable {
    @NotNull(message = "活动关联的人员id不能为空！")
    private Long userId;

    @NotBlank(message = "姓名不能为空！")
    private String userName;
}
